package com.codrim.cs.data.server.dao.entity.unique.key;

import com.codrim.cs.data.server.dao.param.StatCsUniqueKey;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Liang.Zhuge on 15/08/2017.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StatCsAdvAffUniqueKey extends StatCsUniqueKey {
    private Integer advertiserId;
    private Integer affiliateId;
    private String symbol;

    private Integer advAdvertiserManagerId;
    private Integer advAffiliateManagerId;

    public StatCsAdvAffUniqueKey(int sdate, Integer advertiserId,
            Integer affiliateId, String symbol, Integer advAdvertiserManagerId, Integer advAffiliateManagerId) {
        super(sdate);
        this.advertiserId = advertiserId;
        this.affiliateId = affiliateId;
        this.symbol = symbol;
        this.advAdvertiserManagerId = advAdvertiserManagerId;
        this.advAffiliateManagerId = advAffiliateManagerId;
    }
}
